<!--导航栏-->
<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/star">首页</a>
                </li>
                <li class="active">智能分析</li>
            </ul>
        </div>
    </div>
</div>

<style type="text/css">
</style>

<div class="container-fluid">
<!--    <div style="margin-left:10px;margin-right:10px;">-->
<!--        <a href="" ng-click="queryItems('all')">  <u>全部库表</u> </a>-->
<!--        <a href="#/star/metric/data_map_add/id/0" style="float: right; padding-left:10px;"><u>新建主题</u></a>-->
<!--        <a href="https://docs.qq.com/sheet/DSGJxVWxTVHZQcVRa?tab=d7tq3w" style="float: right;" ><u>数据目录</u></a>-->
<!--    </div>-->

    <div style="margin: 10px">
        <div class="row">
            <div style="margin: 10px 10px 10px 400px; ">
                <input type="text" ng-model="vm.p.question" style="width:700px;height:32px" placeholder="请输入question">
                <button class="btn btn-primary" ng-click="questionHandle()" style="font-size:12px">生成SQL</button>
            </div>
            <div class="col-sm-12 col-md-12 main" style="float: right">
                <label style="float: right">耗时：{{vm.result.ms}}ms</label>
                <div>
                    <p>{{vm.result.data}}</p>
                </div>
            </div>
        </div>
    </div>
</div>
